package com.exam.exception;


import com.exam.vo.examEnum.ResultCode;

public class AuthorizationException extends BaseException {

	private static final long serialVersionUID = -7138624506525389608L;
	private String msg;
	private ResultCode resultCode;

	public AuthorizationException() {
		this.resultCode = ResultCode.UNAUTHORIZED;
	}

	public AuthorizationException(String msg) {
		this.resultCode = ResultCode.UNAUTHORIZED;
		this.msg = msg;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public ResultCode getResultCode() {
		return resultCode;
	}

	public void setResultCode(ResultCode resultCode) {
		this.resultCode = resultCode;
	}

}
